import { post } from '@/request/http'
import store from '@/store'

 //待办事项
 export const selectToDoList = (data) =>
 post(
   '/FTKJWLHYPT/base/toDoList',
   {
     Data: {
       Parameters: {
         FTKJWLHYPT: {
            dptId : store.state.user.DPTID_DX_H,
            fltId : store.state.user.FLT_UUID_DX_H,
         }
       },
     }
   }
 )

  //需求信息
  export const queryToDoBid = (data) =>
  post(
    '/FTKJWLHYPT/base/queryToDoBid',
    {
      Data: {
        Parameters: {
          FTKJWLHYPT: {
             dptId : store.state.user.DPTID_DX_H,
             fltId : store.state.user.FLT_UUID_DX_H,
             createdStart:data.createdStart,
             createdEnd:data.createdEnd,
            }
          },
          PageIndex: {
            FTKJWLHYPT: data.PageIndex
          },
          PageSize: {
            FTKJWLHYPT: data.PageSize
          }
        }
      }
    )